/* Mask
---------------------------------------------------------------- */
.modal-mask-wrap {
  box-sizing: border-box;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  background-color: transparent;
}

/* Modal
---------------------------------------------------------------- */
.machine-report-modal {
  box-sizing: border-box;
  position: fixed;
  top: 100px;
  left: 0;
  right: 0;
  margin: 0 auto;
  // margin-left: -260px;
  // transform: translateX(-50%);
  z-index: 12;
  width: 1000px;
  background: #ffffff;
  border-radius: 2px;
  box-shadow: 0 3px 6px -4px rgb(0 0 0 / 12%),
              0 6px 16px 0 rgb(0 0 0 / 8%),
              0 9px 28px 8px rgb(0 0 0 / 5%);

  &:active {
    box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2),
                0 8px 10px 1px rgba(0, 0, 0, 0.14),
                0 3px 14px 2px rgba(0, 0, 0, 0.12);
  }

  .modal-head {
    position: relative;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 16px 24px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 16px;
    color: rgba(0, 0, 0, .85);
    line-height: 22px;
    font-weight: 600;

    .head-title {
      box-sizing: border-box;
      width: 100%;
      display: flex;
      align-items: center;
      line-height: 1;
      cursor: move;

      .drop-btn {
        font-size: 16px;
        color: #cccccc;
        margin-right: 10px;
      }
    }

    .modal-del {
      position: absolute;
      top: 0;
      right: 0;
      z-index: 2;
      width: 56px;
      height: 100%;
      font-size: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      text-transform: none;
      text-rendering: auto;
      cursor: pointer;
    }
  }

  .modal-body {
    box-sizing: border-box;
    display: flex;
    font-size: 14px;
    padding: 24px;
    word-break: break-word;
    max-height: 650px;
    overflow: hidden;

    .modal-body-title {
      font-size: 15px;
      color: #303133;
      font-weight: 600;
      padding-bottom: 15px;
    }

    .modal-body-lf {
      box-sizing: border-box;
      width: 380px;
      padding-right: 10px;
      max-height: 550px;
      overflow-y: auto;

      .assess-dl {
        dd {
          font-size: 14px;
          color: #606266;
          padding-bottom: 10px;

          span{
            color: #909399;
            padding-left: 4px;
          }
        }
      }

      .assess-ul {
        box-sizing: border-box;
        padding-top: 5px;

        li {
          display: flex;
          font-size: 14px;
          padding-bottom: 10px;

          &:last-child {
            padding-bottom: 0;
          }

          .assess-li-q {
            color: #303133;
            font-weight: 600;
            min-width: 86px;

            &::after {
              content: ':';
              padding-right: 4px;
            }
          }

          .assess-li-a {
            flex: 1;
            color: #606266;
            word-wrap: break-word;
          }
        }
      }
    }

    .modal-body-rt {
      box-sizing: border-box;
      height: 100%;
      flex: 1;
      border-left: 1px solid #F2F6FC;
      padding-left: 10px;
      margin-bottom: 10px;
      max-height: 550px;
      overflow-y: auto;

      .report-item {
        box-sizing: border-box;
        padding-bottom: 15px;

        &:last-child {
          padding-bottom: 0;
        }

        /* 机型
        ----------------------------------------------------------------*/
        .report-item-dl {
          display: flex;
          align-items: center;

          dt {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 56px;
            height: 56px;
            border: 1px solid #EBEEF5;
            padding: 3px;
            overflow: hidden;

            img {
              max-width: 100%;
            }
          }

          dd {
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            padding-left: 12px;

            .dd-name {
              font-size: 15px;
              color: #333333;
            }

            .dd-time {
              font-size: 12px;
              color: #999999;
            }
          }
        }

        /* 基础信息
        ----------------------------------------------------------------*/
        .info-li {
          font-size: 13px;
          color: #999999;
          padding: 5px 0;

          span {
            color: #1A1A1A;
          }
        }

        /* 图片
        ----------------------------------------------------------------*/
        .report-imgs {
          .report-img-title {
            font-size: 14px;
            color: #333333;
            font-weight: 600;
          }

          .img-wrap {
            display: flex;
            flex-wrap: wrap;
          }

          .img-item {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 64px;
            height: 64px;
            background: #F0F0F2;
            border-radius: 4px;
            margin: 12px 12px 0 0;
            overflow: hidden;
          }
          
          .explain-content {
            font-size: 13px;
            color: 555555;
            background: #F8FAFD;
            border-radius: 4px;
            padding: 10px;
            margin-top: 10px;
          }
        }

        /* 检测信息
        ----------------------------------------------------------------*/
        .testing-item {
          box-sizing: border-box;
          padding-bottom: 20px;

          &:last-child {
            padding-bottom: 0;
          }

          .testing-title {
            font-size: 14px;
            color: #333333;
            font-weight: 600;
          }

          .testing-ul {
            padding-top: 12px;

            li {
              box-sizing: border-box;
              display: flex;
              align-items: center;
              justify-content: space-between;
              height: 44px;
              background: rgba(239, 249, 239, 0.45);
              padding: 8px 20px;

              &.red-bg {
                background: rgba(255, 238, 237, 0.45);
              }

              .testing-li-q {
                font-size: 13px;
                color: #1A1A1A;

                .li-q-icon {
                  color: #19B122;
                }

                .icon-red {
                  color: #FF3A3A;
                }
              }

              .testing-li-i {
                position: relative;
                display: flex;
                align-items: center;
                justify-content: center;
                width: 28px;
                height: 28px;
                background: rgba(0, 0, 0, 0.15);
                border-radius: 4px;
                overflow: hidden;

                .small-img {
                  width: 100%;
                  height: 100%;
                }

                .show-ico {
                  position: absolute;
                  top: 0;
                  left: 0;
                  width: 100%;
                  height: 100%;
                  display: flex;
                  align-items: center;
                  justify-content: center;
                  background: rgba(0, 0, 0, .25);
                  color: #ffffff;
                }
              }
            }
          }
        }
      }
    }

    .scrollbar-wrap {
      &::-webkit-scrollbar {
        /* 滚动条整体样式 */
        width: 6px;
      }
      &::-webkit-scrollbar-thumb {
        /* 滚动条里面小方块 */
        border-radius: 4px;
        background: rgba(144, 147, 153, .3);
      }
      &::-webkit-scrollbar-track {
        /* 滚动条里面轨道 */
        border-radius: inherit;
        background: rgba(144, 147, 153, .12);
      }
    }
  }

  .modal-foot {
    box-sizing: border-box;
    padding: 10px 16px;
    border-top: 1px solid #f0f0f0;
  }
}

.opne-animation {
  animation: modalopen 0.2s ease-in-out;
}

@keyframes modalopen
{
  from {
    top: 0px;
    opacity: 0;
  }
  to {
    top: 100px;
    opacity: 1;
  }
}